package com.zhuhjay.common.security.custom;

import org.springframework.security.web.AuthenticationEntryPoint;
import org.springframework.security.web.authentication.logout.LogoutHandler;
import org.springframework.security.web.authentication.logout.LogoutSuccessHandler;
import org.springframework.security.web.authentication.www.BasicAuthenticationFilter;

/**
 * 把security中需要的过滤器抽象出来, 由上层实现, 底层使用
 *
 * @author ZhuHJay
 * @date 2023/8/4 10:50
 */
public interface SecurityFilterHolder {

    BasicAuthenticationFilter authenticationFilter();

    AuthenticationEntryPoint authenticationEntryPoint();

    LogoutHandler logoutHandler();

    LogoutSuccessHandler logoutSuccessHandler();

}
